package Dome6;

public class Text6 {
    public static void main(String[] args) {
       /* String str="123 0 456 789";
        String arr[]=str.split(" ",2);
        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }*/

        String str = "name\\wang*age=21";
        String arr1[]=str.split("\\*|\\\\");
        for (int i = 0; i < arr1.length; i++) {
            System.out.println(arr1[i]);
        }
    }
}
